package com.jadows.tdog.util;

/**
 * @author taojiacheng
 */
public class UnionUtil {

    public static String getUnionId(String fromId, String targetId) {
        return fromId.compareTo(targetId) > 0 ? fromId + "$" + targetId : targetId + "$" + fromId;
    }

}
